import request from '@/utils/request'

// 查询客户请求任务计划列表
export function listCust_request_work_effort(query) {
  return request({
    url: '/ehr/cust_request_work_effort/list',
    method: 'get',
    params: query
  })
}

// 查询客户请求任务计划详细
export function getCust_request_work_effort(custRequestId) {
  return request({
    url: '/ehr/cust_request_work_effort/' + custRequestId,
    method: 'get'
  })
}

// 新增客户请求任务计划
export function addCust_request_work_effort(data) {
  return request({
    url: '/ehr/cust_request_work_effort',
    method: 'post',
    data: data
  })
}

// 修改客户请求任务计划
export function updateCust_request_work_effort(data) {
  return request({
    url: '/ehr/cust_request_work_effort',
    method: 'put',
    data: data
  })
}

// 删除客户请求任务计划
export function delCust_request_work_effort(custRequestId) {
  return request({
    url: '/ehr/cust_request_work_effort/' + custRequestId,
    method: 'delete'
  })
}

